//
//  searchCell.m
//  Wedding fantastic
//
//  Created by dllo on 15/7/9.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import "searchCell.h"

@implementation searchCell
- (instancetype)initWithFrame:(CGRect)frame {
    [super initWithFrame:frame];
    if (self) {
        self.keyLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, 100 * kWidth / 375, 30 * kHeight / 667)];
        self.keyLabel.layer.masksToBounds = YES;
        self.keyLabel.layer.cornerRadius = 10;
        self.keyLabel.layer.borderWidth = 0.3;
        self.keyLabel.layer.borderColor = [[UIColor blackColor] CGColor];
        self.keyLabel.textColor = [UIColor grayColor];
        self.keyLabel.font = [UIFont systemFontOfSize:16];
        self.keyLabel.textAlignment = NSTextAlignmentCenter;
        [self.contentView addSubview:self.keyLabel];
        [_keyLabel release];
    }
    return self;
}
@end
